﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using EnvironmentChecker.Tests;

namespace EnvironmentChecker
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            //Application.EnableVisualStyles();
            //Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new Form1());

            RegistryTest dummy = new RegistryTest();
            dummy.SetProperties("HKEY_LOCAL_MACHINE", @"SOFTWARE\Diamond Sierra\Paul Bunyan", "Config path", "comparevalue", @"C:\Program Files\Diamond Sierra\Paul Bunyan\PBMSCFG.PBC");
            dummy.Test();

            FileTest dummy2 = new FileTest();
            dummy2.SetProperties(@"C:\windows\system32\activeds.dll", "regedit.exe", "testperms", 6, 1, 7600, 16385);
            dummy2.Test();

            FolderTests dummy3 = new FolderTests();
            dummy3.SetProperties(@"C:\windows\system32", "checkperms", "FullControl", @"BUILTIN\Administrators");
            dummy3.Test();
        }
    }
}
